import axios from '../axios'


export const author = () => {
    return axios({
        url: "api/wx/author",
        method: 'get'
    })
}

/*
* 用户管理模块
*/

export const userInfo = (data) => {
    return axios({
        url: 'api/wx/userInfo',
        method: 'post',
        data
    })
}

export const fetchUserInfo = (params) => {
    return axios({
        url: 'api/wx/fetchUserInfo',
        method: 'post',
        params
    })
}
